#pragma once
#if !defined(__structs__)
#include "structs.h"
#define __structs__
#endif

//#define FILE_PATH  L"\\??\\C:\\Users\\lxh\\Desktop\\Test.dll"



VOID* OpenF(char* name);

VOID* Toimagebuffer(ULONG64 buffer, PULONG64 Size);

BOOL FixBaseRelocTable(VOID* buffer);

ULONG64 FixIat(ULONG64 buffer);

ULONG64 GetShellCodeSize(ULONG64 Star, ULONG64 PRAM);

VOID* Toimagebuffer_X86(ULONG64 buffer, PULONG64 Size);